package la.iok.hzsvn.lewin.movie.cloud.entity;

/**
 * 组织的地址,只有店铺或者公司有地址
 */
public class OrgUnitAddress {
    /**
     * 唯一id,自增长
     */
    private Long id;
    /**
     * 组织id,关联的{@link OrgUnit}对象的id
     */
    private Long orgUnitId;
    /**
     * 三级行政区划地址
     */
    private String addr;
    /**
     * 省份编码
     */
    private String province;
    /**
     * 市编码
     */
    private String city;
    /**
     * 区编码
     */
    private String area;
    /**
     * 街道编码
     */
    private String town;
    /**
     * 详细地址，用户输入部分
     */
    private String detailAddress;
    /**
     * 经度
     */
    private float lng;
    /**
     * 纬度
     */
    private float lat;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrgUnitId() {
        return orgUnitId;
    }

    public void setOrgUnitId(Long orgUnitId) {
        this.orgUnitId = orgUnitId;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getTown() {
        return town;
    }

    public void setTown(String town) {
        this.town = town;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    public float getLng() {
        return lng;
    }

    public void setLng(float lng) {
        this.lng = lng;
    }

    public float getLat() {
        return lat;
    }

    public void setLat(float lat) {
        this.lat = lat;
    }
}
